package org.nbict.iot.protocol;

import org.nbict.iot.protocol.type.ProtocolField;

/**
 * Created by songseven on 18/6/13.
 */
public interface Convertor <T> {

    /**
     * 转换当前域值
     * @param value
     * @return
     */
    public T convert(byte[] value, ProtocolField field);
}
